package com.csun.cmny.provider.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-11 15:37
 * @Description: the class room sort query dto
 */
@Data
public class RoomSortQueryDto implements Serializable {

    /**
     * 楼栋id
     */
    @NotNull(message = "{building.id.null}")
    private Integer buildingId;

    /**
     * 楼层
     */
    @NotNull(message = "{floor.no.null}")
    private Integer floorNo;

}
